<div class="test-dialog" ng-controller="TestDialogCtrl">
  <div class="text-center">
    <span class="btn btn-primary" ng-click="showDialog()">显示对话框</span>
    <span class="btn btn-primary" ng-click="showCustom()">自定义对话框</span>
  </div>
</div>